net/http.transferReader.RequestMethod (field)
7 uses
net/http (current package)
transfer.go#L443: RequestMethod string
transfer.go#L491: t := &transferReader{RequestMethod: "GET"}
transfer.go#L504: t.RequestMethod = rr.Request.Method
transfer.go#L508: t.RequestMethod = rr.Method
transfer.go#L529: realLength, err := fixLength(isResponse, t.StatusCode, t.RequestMethod, t.Header, t.Chunked)
transfer.go#L533: if isResponse && t.RequestMethod == "HEAD" {
transfer.go#L564: if isResponse && (noResponseBodyExpected(t.RequestMethod) || !bodyAllowedForStatus(t.StatusCode)) {
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |